// 员工模块的接口
import http from '@/utils/request'
// 获取所有员工列表
export const reqGetEmployeesList = (page = 1, size = 10) => http({ method: 'get', url: '/sys/user', params: { page, size }})
// 删除员工的接口
export const reqDelUserById = id => http({ method: 'delete', url: `/sys/user/${id}` })
// 新增员工
export const reqAddUser = data => http({ method: 'post', url: '/sys/user', data })
